<template>
  <div>
    <svg class="g-icon" v-if="iconname">
      <use :xlink:href="`#icon-${iconname}`"></use>
    </svg>
  </div>
</template>
<script>
export default {
    props:['iconname']
        
}
</script>

    <style>
        .g-icon{
            height: 1em;
            width: 1em;
        }
    </style>